package com.yunxi.sys.service;

import com.yunxi.sys.pojo.RoleMenuVO;
import com.yunxi.sys.pojo.RoleUserVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * Created by 枫下 on 2018/1/23.
 */
public interface RoleMenuDubboService {
    Object listByRoleId(String roleId) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

    void saveRoleMenuList(RoleMenuVO roleMenu, String userId);

    String[] listMenuByUserId(String userId);

    String[] listMenuByRoleCode(String roleCode);

    public List listByRoleCode(String roleCode);
}
